package com.xnyzc.lhy.order.entity.gps;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
*
* 司机前往预约地点轨迹
*
* @author cuixiaojian
* @since 2019-12-04
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="DriverAppointmentLocation对象", description="司机前往预约地点轨迹")
public class DriverAppointmentLocation implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "轨迹ID")
    @TableId(value="location_id", type = IdType.INPUT)
    private Long locationId;

    @ApiModelProperty(value = "订单ID")
    private String orderNo;

    @ApiModelProperty(value = "司机ID")
    private Long driverId;

    @ApiModelProperty(value = "经度")
    private String lng;

    @ApiModelProperty(value = "纬度")
    private String lat;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createUser;


    public static final String LOCATION_ID = "location_id";

    public static final String ORDER_NO = "order_no";

    public static final String DRIVER_ID = "driver_id";

    public static final String LNG = "lng";

    public static final String LAT = "lat";

    public static final String CREATE_TIME = "create_time";

    public static final String CREATE_USER = "create_user";

}
